﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<h2>ProducSend</h2>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HEAD" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="main_content" runat="server">
 <!--Bắt đầu fastFeedback Wrap gửi yêu cầu mua hàng-->
         <div>
            <div><h3>Send your message to this supplier</h3></div>
            <div>
                <table>
                    <tr>
                        <th>from:</th>
                        <td><input type="text" /></td>
                    </tr>

                    <tr>
                        <th>To:</th>
                        <td>
                        <div style="float:left">Tên nhà cung cấp</div>
                        <div style="float:left">
                            <img align="left" src="../../Images/Alibaba/Digital_camera_1.jpg" width="100px"  />
                            san pham 1
                        </div>
                        <div class="clr"></div>
                        </td>
                    </tr>

                    <tr>
                        <th>Subject: </th>
                        <td><input type="text" /></td>
                    </tr>

                    <tr>
                        <th>Message: </th>
                        <td><textarea class="ckeditor" id="editor1" rows="5" cols="15"></textarea>
                        <script type="text/javascript">
                            function thongbao() {
                                var a = CKEDITOR.instances.editor1.getData()
                                alert(a);
                            }
                        </script>
                        </td>
                    </tr>
                    <tr>
                        <th>Quantity Needed:</th>
                        <td><input type="text" /> <input type="text" /></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="button" value="Send" onclick="thongbao()"/>
                        </td>
                    </tr>

                </table>
            </div>
         </div>
         <!--Kết thúc fastFeedbackWrap gửi yêu cầu mua hàng-->
</asp:Content>
